<?php
/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: 2018/10/16
 * Time: 14:53
 */

namespace app\admin\model;


use think\Model;

class GoodsImages extends Model
{
    // 将图相对地址片转为网络地址
    public function getImageUrlAttr($value)
    {
        return "http://img.huaxiaoujia.com/" . $value;
    }
}